package com.open.capacity.forum.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.open.capacity.forum.dao.MetasDao;
import com.open.capacity.forum.model.Metas;
import com.open.capacity.forum.service.MetasService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MetasServiceImpl extends ServiceImpl<MetasDao, Metas> implements MetasService {

    @Override
    public List<Metas> findMetasByTypeCode(String code) {
        return lambdaQuery().eq(Metas::getMttype, code).list();
    }
}
